﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/MasterPage.Master" AutoEventWireup="true" CodeBehind="SongList.aspx.cs" Inherits="SemPlayGen.Website.SongList" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:Button runat="server" ID="btnRefreshSemantics" Width="300px" Height="30px"
        Text="Синхронизирај ја семантиката со базата" 
        onclick="btnRefreshSemantics_Click" />
    <br /><asp:Label ID="lblStatus" runat="server" />

    <div style="padding-top:30px;">
        <asp:GridView runat="server" ID="gvPlaylist" AutoGenerateColumns="false">
            <Columns>
                <asp:BoundField DataField="ArtistName" HeaderText="Изведувач" />
                <asp:BoundField DataField="SongName" HeaderText="Песна"  />

                <asp:TemplateField HeaderText="Тип изведувач">
                    <ItemTemplate><asp:Label ID="Label1" runat="server" Text='<%# Eval("ArtistTypes.Name") %>' /></ItemTemplate>
                </asp:TemplateField>

                <asp:TemplateField HeaderText="Тип музика">
                    <ItemTemplate><asp:Label ID="Label2" runat="server" Text='<%# Eval("MusicTypes.Name") %>' /></ItemTemplate>
                </asp:TemplateField>

                <asp:TemplateField HeaderText="Вид музика">
                    <ItemTemplate><asp:Label ID="Label3" runat="server" Text='<%# Eval("Genres.Name") %>' /></ItemTemplate>
                </asp:TemplateField>

                <asp:BoundField DataField="HasLyrics" HeaderText="Има текст?"  ItemStyle-HorizontalAlign="Center" />
            </Columns>
        </asp:GridView>
    </div>
</asp:Content>
